﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="proxytest.aspx.cs" Inherits="OWASP.DotNetGoat.proxytest" MasterPageFile="~/resources/Master-Pages/Site.Master"%>


<asp:Content ID="Content2" ContentPlaceHolderID="BodyContentPlaceholder" runat="server">
	<div class="ContentArea">
		Use this page to determine if webgoat is running properly, and to test your web proxy.<br />
        <asp:RequiredFieldValidator ID="valNameRequired" runat="server" 
            ErrorMessage="Name is Required" ControlToValidate="txtName"></asp:RequiredFieldValidator><br />
        <asp:RegularExpressionValidator ID="valRegEx" runat="server" 
            ErrorMessage="Invalid Characters Detected!" ControlToValidate="txtName" 
            ValidationExpression="[a-zA-Z\- ]*"></asp:RegularExpressionValidator>
        <p />
        Enter your name (letters only): 
		<asp:TextBox ID="txtName" runat="server" Width="304px"></asp:TextBox>
		<asp:Button ID="btnReverse" runat="server" onclick="btnReverse_Click" Text="Reverse Name" />
		<p />
		    <asp:Label ID="lblOutput" runat="server"></asp:Label>
		<br />
</div>
</asp:Content>